package light.mvc.model.tba;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import light.mvc.model.base.IdEntity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@Table(name = "TBA_MAM_PRODUCT")
@DynamicInsert(true)
@DynamicUpdate(true)
public class MamProductBO extends IdEntity implements java.io.Serializable {

	@Column(name = "MA_PRODUCT", length = 36, nullable = false)
	private String maProduct; // 产品

	@Column(name = "MA_NAME", length = 36, nullable = false)
	private String maName; // 备注

	@Column(name = "MA_URL", length = 36, nullable = false)
	private String maUrl; // 短连接

	@Column(name = "MA_QRCODE", length = 36, nullable = false)
	private String maQrCode; // 二维码

	@Column(name = "MA_PWD", length = 36, nullable = false)
	private String maPwd; // 淘口令
	
	@Column(name = "IS_ENABLE")
	private Boolean IsEnable; // 是否启用
	
	public Boolean getIsEnable() {
		return IsEnable;
	}

	public void setIsEnable(Boolean isEnable) {
		IsEnable = isEnable;
	}

	public String getMaProduct() {
		return maProduct;
	}

	public void setMaProduct(String maProduct) {
		this.maProduct = maProduct;
	}

	public String getMaName() {
		return maName;
	}

	public void setMaName(String maName) {
		this.maName = maName;
	}

	public String getMaUrl() {
		return maUrl;
	}

	public void setMaUrl(String maUrl) {
		this.maUrl = maUrl;
	}

	public String getMaQrCode() {
		return maQrCode;
	}

	public void setMaQrCode(String maQrCode) {
		this.maQrCode = maQrCode;
	}

	public String getMaPwd() {
		return maPwd;
	}

	public void setMaPwd(String maPwd) {
		this.maPwd = maPwd;
	}

}
